/*
 *  @ProductName@
 *  Copyright (C) @CopyrightYear@
 *    National Institute of Advanced Industrial Science and Technology (AIST)
 *    Registration Number: @AISTRegistrationNumber@
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package jp.go.aist.six.vuln.model.scap.patch;

import jp.go.aist.six.vuln.model.scap.core.CheckReference;
import jp.go.aist.six.vuln.model.scap.core.Notes;
import jp.go.aist.six.vuln.model.scap.core.Reference;
import java.util.Collection;




/**
 *
 * @author	Akihito Nakamura, AIST
 * @version $Id: Patch.java 6 2010-05-15 10:00:19Z nakamura5akihito $
 */
public class Patch
{

    /**
     * Human-formatted title for the patch.
     * If none given, then duplicate of the name.
     */
    private String  _title;
    private Collection<Reference>  _references;
    private Collection<Notes>  _notes;
    private Collection<CheckReference>  _check;

    /**
     * Patches that superceded by the referenced patch.
     */
    private Collection<Patch>  _supersedes;

    /**
     * Patches that supersede the patch comprising the current XML document.
     */
    private Collection<Patch>  _supersededBy;

    /**
     * Identifier unique within the XML document for the given patch.
     */
    private double  _identifier;    //{required}

    /**
     * Vendor supplied name for the patch.
     * Will use lower case and underscores for spaces,
     * consistent with CPE naming conventions.
     */
    private String  _name;  //{required}

    /**
     * Boolean value.
     * True of patch is superseded. False if not.
     */
    private boolean  _superseded;   //{required}

    /**
     * Indicates that a patch should not be used -- regardless of supersession.
     */
    private boolean  _deprecated;

}
// Patch
